import pytest
import os

from testcases.BOSS import A_test_login

if __name__ == '__main__':
    # pytest.main(['-v', '-s', '-W', 'ignore:Module already imported:pytest.PytestWarning', '--capture=sys'])
    # pytest.main(test_login['-v', '-s', '--capture=sys'])
    pytest.main(test_login)
    # pytest.main(['-v', '-s'])
    os.system(r"allure generate allure-results --clean -o allure-report")
    # from emails.email_manage import send_report
    #
    # send_report()  # 在pycharm时候就要开启邮件发送
